package com.zego.base.utils;

/**
 * 地址配置
 */
public class Hosts {




    // TCP长连接
    public static final String[] TCP_HOST = {"39.106.29.226", "39.106.29.226"};
    public static final String[] TCP_PORT = {"8140", "8140"};
    public static final String[] MSG_HOST = {"http://39.106.29.226:8120/", "http://39.106.29.226:8120/"};
    public static final String[] GO_HOST = {"http://39.106.29.226:8110/", "http://39.106.29.226:8110/"};
    public static String NO_HOST = "no_host";
    // 0-正式服，1-测试服，对应以上几个host-array的position
    public static int SERVER_TYPE = 0;
    public static String FATE_IT_MSG = MSG_HOST[SERVER_TYPE];           //消息地址
    public static String FATE_IT_GO = GO_HOST[SERVER_TYPE];           //go地址

    public static String FATE_IT_TCP = TCP_HOST[SERVER_TYPE];                    //socket地址
    public static int FATE_IT_TCP_PORT = Integer.valueOf(TCP_PORT[SERVER_TYPE]);//socket端口

    public static String HOST_URL = FATE_IT_MSG;                     //默认host地址
}
